package com.situ.student.service.impl;

import com.situ.student.dao.IUserDao;
import com.situ.student.dao.impl.UserDaoImpl;
import com.situ.student.service.IUserService;


public class UserServiceImpl implements IUserService{
	private IUserDao UserDaoImpl=new UserDaoImpl();
	@Override
	public boolean login(String name, String password) {
		String count = UserDaoImpl.login(name, password);
		return count == null?false:true;
		
	}
}